//1450. 在既定时间做作业的学生人数


#include <vector>
using namespace std;

class Solution {
public:
    int busyStudent(vector<int>& startTime, vector<int>& endTime, int queryTime) 
    {
        int count = 0;
        for(int i = 0; i < startTime.size(); i++)
        {
            if(startTime[i] <= queryTime && endTime[i] >= queryTime)
                count++;
        }
        return count;
    }
};